import { ResolutionModal } from "@/api/service/model/model";

export const showForm = ref(false);
const formObj: ResolutionModal = {
  id: undefined,
  color: "",
  scale: 0,
  dpi: 0,
  flip: "1",
  description: "",
  resolutionId: "",
  width: 0,
  height: 0,
  createTime: "",
  updateTime: ""
};
export const form = ref<ResolutionModal>({
  ...formObj
});

export const resetForm = () => {
  form.value = {
    ...formObj
  };
};
